﻿Imports System.Collections.ObjectModel

Namespace ViewModel.UISettings

    Public Class SoundOptionsViewModel
        Inherits ViewModelBase

        Private _Volume As Double = 0.5
        Public Property Volume() As Double
            Get
                Return _Volume
            End Get
            Set(ByVal value As Double)
                _Volume = value
                OnPropertyChanged("Volume")
            End Set
        End Property

        Private _SoundFiles As New ObservableCollection(Of SoundFileViewModel)
        Public ReadOnly Property SoundFiles() As ObservableCollection(Of SoundFileViewModel)
            Get
                Return _SoundFiles
            End Get
        End Property

        Private _MaxPlayTime As New TimeSpan(0, 0, 20)
        Public Property MaxPlayTime() As TimeSpan
            Get
                Return _MaxPlayTime
            End Get
            Set(ByVal value As TimeSpan)
                _MaxPlayTime = value
                OnPropertyChanged("MaxPlayTime")
            End Set
        End Property

    End Class

End Namespace
